home *** CD-ROM | disk | FTP | other *** search
/ Clickx 47 / Clickx 47.iso / assets / software / sswitchxp152.exe / source / SpeedswitchXP / SpeedswitchXP.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-07-13  |  1.4 KB  |  56 lines

  1. /*
  2.    SpeedswitchXP V1.5
  3.    - Windows XP CPU Frequency Control for Notebooks -
  4.  
  5.    Copyright(c) 2002-2005 Christian Diefer
  6.  
  7.    This program is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License version 2 as 
  9.    published by the Free Software Foundation.
  10.    
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.    
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. #pragma once
  22.  
  23. #ifndef __AFXWIN_H__
  24.     #error include 'stdafx.h' before including this file for PCH
  25. #endif
  26.  
  27. #include "resource.h"        // Hauptsymbole
  28.  
  29. void log( TCHAR* msg, ... );
  30.  
  31. // CSpeedswitchXPApp:
  32. // Siehe SpeedswitchXP.cpp fⁿr die Implementierung dieser Klasse
  33. //
  34.  
  35. class CSpeedswitchXPApp : public CWinApp
  36. {
  37. public:
  38.     CSpeedswitchXPApp();
  39.  
  40. // ▄berschreibungen
  41.     public:
  42.     virtual BOOL InitInstance();
  43.     virtual int ExitInstance();
  44.  
  45. // Implementierung
  46.  
  47.     DECLARE_MESSAGE_MAP()
  48.  
  49. private:
  50.   HANDLE hMutex;
  51.   BOOL activeMutex;
  52.   HINSTANCE m_hInstResDLL;
  53. };
  54.  
  55. extern CSpeedswitchXPApp theApp;
  56.